package com.lkx.chain;

/**
 * ClassName: TestLead
 * Function:  TODO
 * Date:      2019-08-06 10:48
 * author     likaixuan
 * version    V1.0
 */
public class TestLead {
    public static void main(String[] args) {
        LeadA leadA = new LeadA();
        LeadB leadB = new LeadB();
        LeadC leadC = new LeadC();

        leadC.nextLead=leadB;
        leadB.nextLead=leadA;

        leadC.handleRequest(5000);
    }
}
